package net.borlis.sample.services.facade.ws.response;

import net.borlis.dictionaries.product.HierarchyLevelDictionary;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author alex@borlis.net on 15.10.2014.
 */
@XmlRootElement
public class HierarchyLevelResponse {

    private HierarchyLevelDictionary hierarchyLevelEnumValue;
    private String hierarchyLevelName;

    public HierarchyLevelResponse() {
    }

    public HierarchyLevelResponse(HierarchyLevelDictionary hierarchyLevelEnumValue, String hierarchyLevelName) {
        this.hierarchyLevelEnumValue = hierarchyLevelEnumValue;
        this.hierarchyLevelName = hierarchyLevelName;
    }

    @XmlElement
    public HierarchyLevelDictionary getHierarchyLevelEnumValue() {
        return hierarchyLevelEnumValue;
    }

    public void setHierarchyLevelEnumValue(HierarchyLevelDictionary hierarchyLevelEnumValue) {
        this.hierarchyLevelEnumValue = hierarchyLevelEnumValue;
    }

    @XmlElement
    public String getHierarchyLevelName() {
        return hierarchyLevelName;
    }

    public void setHierarchyLevelName(String hierarchyLevelName) {
        this.hierarchyLevelName = hierarchyLevelName;
    }
}
